#include "..\Gangia_GUI.h"
#include <wx/msw/registry.h>
#include <wx/textfile.h>

class VAmpDiag : public VAmpDialog
{
public:
	VAmpDiag( wxWindow* parent, int ch, bool *ChFlag, bool *AuxFlags, bool *FastMode, wxString *Labels, int *NumCh);
	~VAmpDiag();

public:
	//Funciton for event
	void OnClear( wxCommandEvent& event );
	void OnOk( wxCommandEvent& event );
	void OnFreq( wxCommandEvent& event );
	void OnConfig( wxCommandEvent& event );
	void OnSaveConfig(wxCommandEvent &event);
	void OnDelete(wxCommandEvent &event);
	int Check (void);
	int Control (void);
	void CheckReg(void);
	void SaveReg(void);
	void ReadConfigFile(void);
	void pInit(void);
	void CheckNumCh(void);
	int CheckIfEqual(void);

	bool *ChFlags;
	bool *AuxFlags;
	bool *FastFlag;
	int Ch;
	wxString *Label;
	int ChNum;
	int *ptChNum;
	wxString name[255];
	int contConfig;
	wxCheckBox *EnableCheck[19];
	wxComboBox *ChLabelName[19];
};